package com.wn.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

/**
 * @program: pms
 * @description:计量器具台账表实体类
 * @author: ZC
 * @create: 2022.10.19/14点05分
 * @Version 1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MeasuringDevice {
    private int id;
    private String measuringDeviceNumber;//计量器具编号
    @NotEmpty(message = "计量器具名称不能为空")
    private String name;//计量器具名称
    @NotEmpty(message = "计量器具型号不能为空")
    private String model;//计量器具型号
    private Hr borrowerId;//借用人  与人员表ID对应
    private String borrowingTime;//借用时间
    @NotEmpty(message = "检定日期不能为空")
    private String checkDate;//检定日期
    @NotEmpty(message = "截止有效日期不能为空")
    private String effectiveDate;//截止有效日期
    private String checkPath;//检定证书路径
    @NotEmpty(message = "状态不能为空")
    private String state;//状态
}
